//
// Decompiled by Jadx - 326ms
//
package gh;

import de.robv.android.xposed.XposedHelpers;
import fn.j;
import fn.x;
import fn.y;
import fo.c;
import org.luckypray.dexkit.query.matchers.MethodMatcher;
import org.luckypray.dexkit.result.MethodData;

@o.a("XHS")
public final class a extends x {
    public MethodData cp;

    public final void a() {
        MethodData t = c.t(MethodMatcher.create().paramTypes(new String[]{"android.view.View", "boolean"}).returnType("android.graphics.Bitmap").addInvoke(MethodMatcher.create().name("setDrawingCacheEnabled")).addInvoke(MethodMatcher.create().name("buildDrawingCache")).addInvoke(MethodMatcher.create().name("getMeasuredHeight")));
        this.cp = t;
        XposedHelpers.findAndHookMethod(t.getClassName(), y.bz, this.cp.getMethodName(), new Object[]{"android.view.View", Boolean.TYPE, new a()});
        MethodData t2 = c.t(MethodMatcher.create().paramCount(7, 9).returnType("void").usingStrings(new String[]{"/xhs_", ".mp4"}));
        this.cp = t2;
        j.ba(t2.getClassName(), this.cp.getMethodName(), new b());
    }
}
